<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>{$article.title}</title>
  <style>
    *{
      margin:0px;
      padding: 0px;
      text-decoration: none;
    }

    .left{
      float:left;
    }

    .right{
      float: right;
    }

    .clear{
      clear:both;
    }

    .maxBox{
      width: 100%;
    }

    .maxBox h3{
      width: 90%;
      padding-left: 3%;
      padding-right: 5%;
      /* text-indent: 1em; */
      margin-top: 10px;
    }

    .maxBox p{
      text-indent: 1em;
      color: #ccc;
      margin-top: 5px;
    }
  
    .ship{
      width:100%;
    }

    video{
      width: 90%;
      padding-left: 5%;
      padding-right: 5%;
      padding-top: 10px;
      height: 200px;
    }

    .foot{
      width: 93%;
      padding-right: 7%;
    }

    .miaoshu{
      width: 90%;
      padding-left: 5%;
      padding-right: 5%;
    }

    .miaoshu p{
      text-indent: 2em;
      color: black;
    }
  </style>
</head>
<body>
  <div class="maxBox">
    <h3>{$article.title}</h3>
    <p>{$article.user.nickname} &nbsp;&nbsp; {$article.create_time|date="Y-m-d"}</p>
    <div class="ship">
      <video class="layui-upload-img" poster="{$article.pic|getUrl}" src="{$article.video|getUrl}" controls preload ></video>
    </div>
    <div class="miaoshu">
      <p>{$article.desc}</p>
    </div>
    <div class="foot">
      <p class="left"><span>阅读 {$article.view}</span></p>
      <!-- <p class="right"><a href="###">在看 {$article.zan}</a> </p> -->
      <div class="clear"></div>
    </div>
  </div>
</body>
</html>